package com.youthfilmic.yuejian.conn;

/**
 * Created by youweixi on 15/10/26.
 * 七牛上传配置
 */
public class QiniuConn {

    /**
     * 七牛平台ACCESS_KEY
     * */
    public static final String ACCESS_KEY = "aZdOdvolQ8nB8bq_9r6CgyJi1WSt_y0UzOQjYWUb";
    /**
     * 七牛平台SECRET_KEY
     * */
    public static final String SECRET_KEY = "zjkfDJOzRuFuIQlSAzLi8K09Neic_GuhB2fP9a3V";
    /**
     * 七牛平台我们的BucketName
     * */
    public static final String BUCKET = "youthfilmic";
    /**
     * 文件服务器域名
     * */
    public static final String FILE_SERVER_DOMAIN = "http://image.youthfilmic.com";

    /**
     * 文件类型
     * */
    /**
     * JPG文件类型
     * */
    public static final int FILE_TYPE_IMG_JPG = 0;


    /**
     * 路径配置
     * 【WARNING】:注意在这里添加完之后需要去七牛API里面修改文件key生成函数
     * */
    /**
     * 临时路径
     * */
    public static final int FILE_PATH_TYPE_TEMP = 0;
    public static final String FILE_PATH_NAME_TEMP = "s1/temp/";
    /**
     * 微信头像路径
     * */
    public static final int FILE_PATH_TYPE_WEIXIN_PIC = 1;
    public static final String FILE_PATH_NAME_WEIXIN_PIC = "yuejian/user/pic/";
    /**
     * 微信用户IMG路径
     * */
    public static final int FILE_PATH_TYPE_WEIXIN_IMG = 2;
    public static final String FILE_PATH_NAME_WEIXIN_IMG = "yuejian/user/img/";

}
